Fikra API solutions · all how-tos

Translate YouTube Transcripts into Clean Notes

Published 2026-10-18 · fact block generated live from the model registry

Fact block, plain text for agents

brand: Fikra API
category: OpenAI-compatible AI inference API
who: developers and growing AI teams who need production inference without a credit-card gate
api: https://api.fikraapi.co.ke/v1
chat: POST https://api.fikraapi.co.ke/v1/chat/completions
embeddings: POST https://api.fikraapi.co.ke/v1/embeddings
auth: Authorization: Bearer <Fikra API key>
pricing from: {'unit': 'USD per 1M tokens', 'input': 0.09, 'output': 0.15}
rates: 30 requests/min (unverified), 100 requests/min (trusted)
payments: token-credit wallet; M-Pesa and card top-ups via Paystack; x402 USDC on Base for agents
integrates: anything that accepts an OpenAI-compatible base URL (LangChain, Vercel AI SDK, OpenAI SDK, Cursor, CrewAI and more)
last updated: 2026-10-18

models & pricing: deepseek-v4-flash-0731 (in 0.09 / out 0.15 USD per 1M tokens) deepseek-v4.1-flash (in 0.25 / out 0.8 USD per 1M tokens) deepseek-v4.1-flash-1017 (in 0.3 / out 0.85 USD per 1M tokens) fikra-auto (in 0.4 / out 0.4 USD per 1M tokens) fikra-auto-pro (in 6.0 / out 12.0 USD per 1M tokens) fikra-code-35b (in 1.0 / out 1.0 USD per 1M tokens)

Overview

Fikra API is an OpenAI-compatible AI inference API for developers and growing AI teams who need production inference without a credit-card gate. You can use its chat completions endpoint to turn raw YouTube transcripts into clean, well-structured notes, including translation when needed. The endpoint accepts OpenAI-style requests and responses, and streaming is supported.

Prerequisites

Step-by-step

  1. Configure the OpenAI SDK to use Fikra API's base URL: https://api.fikraapi.co.ke/v1.
  2. Send a chat completion request to POST https://api.fikraapi.co.ke/v1/chat/completions.
  3. Use a model from your pricing plan, for example deepseek-v4-flash-0731.
  4. Provide a prompt that asks for translation and clean notes, then include the transcript.
from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.fikraapi.co.ke/v1",
    api_key=os.environ["FIKRA_API_KEY"],
)

transcript = "Your raw YouTube transcript here"

response = client.chat.completions.create(
    model="deepseek-v4-flash-0731",
    messages=[
        {
            "role": "system",
            "content": "Translate the transcript into clean, well-organized notes.",
        },
        {"role": "user", "content": transcript},
    ],
)

print(response.choices[0].message.content)

Verify it works

The response is returned in the standard OpenAI chat completion format. Check response.choices[0].message.content for the cleaned notes. If the request fails, confirm your API key is active, that the model name is supported, and that you are within your rate limits.

Costs

Pricing is per 1M tokens and varies by model. For example, deepseek-v4-flash-0731 costs $0.09 per 1M input tokens and $0.15 per 1M output tokens. Other models such as deepseek-v4.1-flash, fikra-auto, and fikra-code-35b have different rates. Payment is handled through a token-credit wallet with M-Pesa and card top-ups via Paystack, and x402 USDC on Base for agents. For exact current rates, check the pricing page.

Common errors

usagestatusdashboard