Create Model
Authorizations
Your API key sent as a Bearer credential — Authorization: Bearer <api_key>, where <api_key> starts with oi_sk_ (create one via POST /v1/api-keys). Although the field is labelled 'token', paste your API key here. A dashboard JWT is also accepted on this header for the same endpoints.
Body
1 - 255LLM provider. Use 'custom' to bring your own OpenAI-compatible model served over a WebSocket/HTTP endpoint — set its URL in custom_websocket_url (the endpoint MUST speak the OpenAI API).
openai, anthropic, groq, deepgram, shisa, custom gpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4-turbo, gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-pro, gpt-5-chat-latest, gpt-5.1, gpt-5.1-chat-latest, gpt-5.1-codex, gpt-5.1-codex-max, gpt-5.1-codex-mini, gpt-5.2, gpt-5.2-chat-latest, gpt-5.2-codex, gpt-5.2-pro, gpt-5.3-chat-latest, gpt-5.3-codex, gpt-5.4, gpt-5.4-mini, gpt-5.4-nano, gpt-5.4-pro, gpt-5.5, gpt-5.5-pro, o1, o1-mini, o3-mini, claude-3-5-sonnet-20241022, claude-3-5-haiku-20241022, claude-3-7-sonnet-20250219, claude-sonnet-4-5, claude-haiku-4-5, claude-opus-4-1, llama-3.3-70b-versatile, llama-3.1-8b-instant, llama-3.1-70b-versatile, mixtral-8x7b-32768, gemma2-9b-it, shisa-ai/shisa-v2.1-llama3.3-70b 1 - 25510 <= x <= 21 <= x <= 128000Required when provider='custom': the URL of your OpenAI-compatible LLM endpoint (wss://, ws://, https:// or http://). 'custom' means you bring your own OpenAI-compatible server; this is where the worker connects.
Response
Successful Response