Roo Code

Use DeepSeek V4.1 Flash in Roo Code

Roo Code is a VS Code coding agent. It accepts any OpenAI-compatible base URL and model ID.

Base URL: https://api.fikraapi.co.ke/v1Model: deepseek-v4.1-flash-10170.5 credit on signup

Steps

  1. 1. Open the settings panel. Install Roo Code and click its settings icon.
  2. 2. Choose the provider. API Provider: OpenAI Compatible.
  3. 3. Set the endpoint. Base URL: https://api.fikraapi.co.ke/v1
  4. 4. Add the key. API Key: your fk_live_ key.
  5. 5. Set the model. Model ID: deepseek-v4.1-flash-1017
  6. 6. Save and run. Save and start a task.

Config

Base URL: https://api.fikraapi.co.ke/v1
API Key: YOUR_FIKRA_KEY
Model ID: deepseek-v4.1-flash-1017

Test it

Start a task in Roo Code and ask it to summarise the open file.

What it costs

Default model: deepseek-v4.1-flash-1017. Prices come from the live catalog.

Input$0.05 / 1M
Cached input$0.0075 / 1M
Output$0.15 / 1M

Repeated prompt prefixes are billed at the cached rate. Cached input can never cost more than fresh input.

Get your key

Free model

While the window is open, model deepseek-v4-1-flash-economy-free is free. Check live availability.

Troubleshooting

Common errors.

401 Unauthorized

The key is missing, revoked, or has a leading space. Paste it again from the dashboard and use the fk_live_ value.

404 Not Found

The base URL usually has an extra /chat/completions. Use exactly https://api.fikraapi.co.ke/v1.

Model not found

The model ID is case sensitive. Copy it from /models or the snippet on the dashboard.

429 Too Many Requests

You hit the account rate limit. Free accounts allow 30 requests per minute and 300 per day. Any top-up raises the limits.

Source used for this guide: https://docs.roocode.com/providers/openai-compatible. If the tool changes its settings, open an issue and we will update this page.

More guides: all setup guides. Measured reliability: public stats. Prices: pricing. Free model: free DeepSeek API.