Hoosha models in your coding agent
Cline, Roo Code, Claude Code, OpenCode, Continue, Aider and Zed reach every Hoosha chat model with one API key. Any OpenAI-compatible tool needs just three values.
Connection
Base URLOpenAI compatible
https://api.hoosha.com/v1API keyFrom the developer console
sk-hoosha-…Create a keyModel IDTo start with; the rest are in the models table
gpt-6.1-terraPick your agent
Setup for each tool, step by step. Orange values are the ones you enter.
Cline
Open-source VS Code extension that reads files, runs commands and writes code on its own.
- Install Cline from the VS Code Marketplace and open its panel.
- Click the settings icon and set
API ProvidertoOpenAI Compatible. - Set
Base URLtohttps://api.hoosha.com/v1and paste your Hoosha key intoAPI Key. - Enter the model ID in
Model ID, for examplegpt-6.1-terra. - Under
Model Configuration, setContext Windowfrom the models table and turn onImage Support.
API ProviderOpenAI Compatible
Base URLhttps://api.hoosha.com/v1
API Keysk-hoosha-••••••••••••
Model IDgpt-6.1-terra
Model Configuration
Context Window922000
Image Support
Which model for coding?
Every Hoosha chat model supports tool calling, streaming and image input. Set your agent's context window to the table's value so it summarizes before it fills up.
| Model | Good for | Context | Input | Output |
|---|---|---|---|---|
| GPT 6.1 Terragpt-6.1-terra | Recommended default for multi-step work and large refactors | 922K | 121.33 | 606.63 |
| Muse Spark 1.3 Contributormuse-spark-1.3-contributor | Not for private code: Meta trains on this model's inputs | 1M | 12.13 | 24.27 |
| DeepSeek V4.1 Flash (1017)deepseek-v4.1-flash-1017 | Everyday edits at low cost | 1M | 18.20 | 72.80 |
| Gemini 3.8 Flashgemini-3.8-flash | Fast answers; reasoning is always on | 1M | 90.99 | 454.97 |
| GLM 5.3 FlashXglm-5.3-flashx | Reasoning is always on | 1M | 44.89 | 151.66 |
Limits
Each account can have 4 chat requests in flight and send 60 per minute. Agents that run several sub-agents in parallel can hit this; the API then answers 429.
Troubleshooting
invalid_api_key401- Copy the key again. It must start with
sk-hoosha-and must not be revoked. model_not_found404- Use the exact model ID from the table, for example
gpt-6.1-terra, not the display name. unsupported_parameter400- The agent sent a field the chat API doesn't accept. The error names the field; turn that option off in the agent's settings.
context_length_exceeded400- Set the agent's context window to the table's value so it summarizes before it fills up.
concurrency_limit_exceeded429- More than 4 requests in flight. Run fewer sub-agents in parallel, or retry shortly.
insufficient_credits402- The account is out of credits. Top up on the Hoosha site.
Not supported yet
- Codex CLICurrent Codex versions only call the Responses API, and Hoosha's chat API is Chat Completions.
- CursorCursor's
Override OpenAI Base URLonly works in Ask and Plan modes; Agent mode doesn't use it.