Qora API — AI API Gateway for Developers

AI API Gateway for Developers

One clear API workflow for your apps, scripts and automations.

Kilo Code Custom API Provider: Add Qora API Step by Step (2026)

Published

Short answer: To use Qora API in Kilo Code, open Settings → Providers → Custom provider, choose OpenAI Compatible, set the Base URL to https://qoraapi.com/v1, paste your Qora API key and add a model ID such as deepseek/deepseek-v4.1-flash. As of November 2026, that model costs $0.15 input / $0.45 output per 1M tokens on Qora API. Qora is for users outside mainland China.

How do I add a custom API provider in Kilo Code?

Kilo Code’s official OpenAI-compatible provider guide says to open Settings (gear icon), go to the Providers tab, scroll to the bottom and click Custom provider. Fill in the dialog like this:

Field Value for Qora API
Provider ID qora (lowercase letters, numbers, hyphens, underscores)
Display name Qora API
Provider API OpenAI Compatible
Base URL https://qoraapi.com/v1
API key Your key from qoraapi.com/register
Models Click Fetch models, or add IDs by hand, e.g. deepseek/deepseek-v4.1-flash

Click Submit. The models then appear in the model picker under qora/<model id>. Kilo can auto-fetch the list from /v1/models when the URL and key are valid; if that fails, type the IDs manually.

How do I configure Qora API in kilo.jsonc?

For token limits, tool calling and reasoning settings, Kilo’s Custom Models guide says to edit the kilo.jsonc config file. This example uses the documented openai-compatible provider shape with Qora’s endpoint:

{
  "$schema": "https://app.kilo.ai/config.json",
  "model": "openai-compatible/deepseek-v4.1-flash",
  "provider": {
    "openai-compatible": {
      "options": {
        "apiKey": "{env:QORA_API_KEY}",
        "baseURL": "https://qoraapi.com/v1"
      },
      "models": {
        "deepseek-v4.1-flash": {
          "id": "deepseek/deepseek-v4.1-flash",
          "name": "DeepSeek V4.1 Flash (Qora)",
          "tool_call": true,
          "limit": { "context": 128000, "output": 16384 }
        },
        "glm-5.2": {
          "name": "GLM 5.2 (Qora)",
          "tool_call": true,
          "limit": { "context": 128000, "output": 16384 }
        }
      }
    }
  }
}

Three details matter. The id field is the exact model ID sent to Qora, while the key is just the local name. Set limit.context and limit.output to the model’s real limits: Kilo’s docs warn that with both at 0, compaction is disabled and conversations grow until the provider rejects them. And per the same docs, {env:VAR} only resolves in trusted config such as your global config in ~/.config/kilo, not in a project-level kilo.json committed to a repo, so keep the key in global config. The 128000 context above is a placeholder; check each model’s page for its real window.

# macOS / Linux
export QORA_API_KEY="sk-your-qora-key"

Which models should I use in Kilo Code through Qora API?

Kilo’s agent depends on tool calling, so pick models that handle tools well. These are Qora’s default-group prices as of November 2026, computed from the live pricing page:

Model Model ID Qora input / output per 1M Official price
DeepSeek V4.1 Flash deepseek/deepseek-v4.1-flash $0.15 / $0.45 $0.30 / $1.20
GLM 5.2 glm-5.2 $0.42 / $1.32 $1.40 / $4.40
DeepSeek V4 Pro deepseek/deepseek-v4-pro $0.51 / $1.05 see DeepSeek pricing

Claude, GPT and Grok models are also available; see /pricing for their current Qora prices. Savings vary by model, up to 70% off official prices, and DeepSeek’s own off-peak and cache-hit rates can undercut Qora for some workloads. Prices change, so treat /pricing as the source of truth.

Should I choose OpenAI Compatible, OpenAI Responses or Anthropic Messages?

Choose OpenAI Compatible for most models on Qora. Kilo’s dialog also offers OpenAI Responses (documented for OpenAI and xAI models) and Anthropic Messages (documented for Anthropic and MiniMax models). Qora’s pricing data lists /v1/chat/completions, /v1/responses and, for Claude models, /v1/messages. For Claude on Qora, setting Provider API to Anthropic Messages is the natural match, but start with OpenAI Compatible if a request fails and compare.

How do I test the Qora endpoint before configuring Kilo?

Run one curl call. If it returns a reply, the same URL, key and model ID will work in Kilo.

curl https://qoraapi.com/v1/chat/completions \
  -H "Authorization: Bearer $QORA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek/deepseek-v4.1-flash","messages":[{"role":"user","content":"Say hi"}]}'

List the models your key can use with curl https://qoraapi.com/v1/models -H "Authorization: Bearer $QORA_API_KEY".

What about Roo Code?

Roo Code was shut down and archived on 15 May 2026 (see its sunset notice), so Kilo Code is the maintained fork-style alternative. If you still run an older Roo build, the same Base URL and key work in any OpenAI-compatible field. For other editors, see our guides for OpenCode, Zed and Cline.

Kilo Code + Qora API FAQ

What is the Qora API base URL for Kilo Code?

The base URL is https://qoraapi.com/v1. Kilo also accepts a full endpoint URL such as https://qoraapi.com/v1/chat/completions, but the plain /v1 base is the safest choice.

Why does Kilo Code say “Model Not Found”?

The model ID does not match what Qora lists. Kilo’s troubleshooting notes point to the model ID first. Copy the ID exactly from /pricing, including any prefix such as deepseek/, and use the id field in kilo.jsonc if your local key differs.

Why does Kilo Code say “Invalid API Key”?

The key was mistyped, or an {env:...} reference was not resolved. Kilo only resolves environment references in trusted global config, not project-level config, so paste the key in the Providers dialog or move the config to ~/.config/kilo.

Why does my custom model not show in the picker?

Credentials are usually missing or the model key does not match your model setting. Run kilo models in the CLI to list what Kilo sees, and use the provider_id/model_id format.

How much does Qora API cost compared with official APIs?

Up to 70% less on some models: DeepSeek V4.1 Flash is $0.15 / $0.45 per 1M tokens on Qora versus $0.30 / $1.20 officially. The minimum top-up is $50, and new users can ask for a $5 trial by contacting X @QoraAPI or [email protected].

Ready to try it? Create a Qora API account and paste the key into Kilo Code. Qora serves users outside mainland China only.

Build AI features with one clear API

Qora API gives you a single, focused gateway to connect your apps, scripts and automations to AI. Start with one request.

qoraapi.com · AI API gateway for developers

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *