FixKit AI

Home / Use case

Add an LLM to your app

“I want my app to call a model — chat, summarise, extract.”

Model APIs and routers. Start with one provider; add a router when you need fallbacks or price shopping.

📚 2 real stories of people doing this with AI agents

Collected at AgentUseCases.ai.

Quick answers

How do I add ChatGPT or Claude to my own app?

Call the provider's model API from your app's server with your API key. Claude Code can write that code for you from a short description of what the AI feature should do. Start with one provider and one feature, and get it working end to end.

What is an LLM router and do I need one?

A router lets you send requests to different AI providers through one connection. You don't need one at first. Add it later when you want a backup provider if one goes down, or to pick a cheaper model for simpler jobs.

Is it safe to put my AI API key in my app?

Only on the server, never in code that runs in the user's browser or phone. Anyone can read a key shipped to the browser and run up your bill. Ask your coding agent to move the key into a server-side environment setting.

Tools for this

Good fit

Claude API

Best for: Coding and agentic apps

Anthropic's Claude models by API for your own apps and agents: strong at coding, long documents and tool use, with prompt caching to cut repeat costs and batch processing for big jobs.

Visit Claude API ↗
Good fit

OpenAI API

Best for: Broadest multimodal menu

OpenAI's developer platform for adding AI to your own app: GPT models plus image generation, speech-to-text, text-to-speech and realtime voice APIs under one key. Adds built-in web search, file search and function calling for agents, plus batch jobs, a usage dashboard and a playground to test prompts before you ship.

Visit OpenAI API ↗
Good fit

Gemini API

Best for: Long context on a budget

Google's developer API for Gemini models, with very long context, image, audio and video input, and structured outputs. Use it when you're building an app that needs multimodal Gemini behind your own UI, or when you already ship on Google Cloud and want one vendor for models plus infra.

Visit Gemini API ↗
Good fit

xAI API (Grok)

Best for: Apps that read X

xAI's API for Grok models: chat, reasoning, image understanding and tool calls, with live search over X posts and the web. Useful for apps that track what people are saying.

Visit xAI API (Grok) ↗
Good fit

OpenRouter

Best for: Many models, one key

One API key for hundreds of AI models from many providers, with automatic fallbacks when a provider is down — handy when your app needs to switch, A/B or fail over across OpenAI, Anthropic, Google and open-weight endpoints without juggling many SDKs.

Visit OpenRouter ↗
Good fit

Groq

Best for: Speed

Very fast cloud inference for open-weight models through an OpenAI-compatible API — strong when your chat or voice app needs low latency more than the newest closed model, and you want to swap Llama, Gemma or Mixtral-class models without rewriting your client.

Visit Groq ↗
Good fit

Vercel AI SDK

Best for: AI features in TypeScript apps

Vercel's open-source TypeScript toolkit for streaming chat UIs, tool calls and structured output across OpenAI, Anthropic, Google and others with one API. A natural fit for Next.js apps.

Visit Vercel AI SDK ↗

New releases for this