3 min read

LLM Providers

VibeReady supports multiple LLM providers out of the box, allowing you to add AI-powered features to your application with a single API key configuration.


Supported Providers

ProviderGet API KeyBest For
OpenRouteropenrouter.ai/keys100+ models, $1 free credit
OpenAIplatform.openai.comGPT-4, GPT-3.5
Anthropicconsole.anthropic.comClaude models
Googleaistudio.google.comGemini models

Setup

1. Add to Local Environment

Set the provider and API key in your .env.local file:

LLM_PROVIDER="openrouter"  # or: openai, anthropic, google
LLM_API_KEY="your-api-key"

2. Add to CI/CD

Add the provider and key to your CI/CD pipeline (e.g., GitHub Secrets) so they are available during builds and deployments.

3. Add to Terraform (GCP Deployment)

For GCP deployments, add the API key to your Terraform configuration file and apply the changes:

terraform apply

This creates the secret in GCP Secret Manager, which Cloud Run accesses at runtime.

4. Restart Dev Server

make dev

Provider Endpoints

Each provider uses a different API endpoint. VibeReady handles routing automatically based on the LLM_PROVIDER value.

ProviderBase URL
OpenRouterhttps://openrouter.ai/api/v1
OpenAIhttps://api.openai.com/v1
Anthropichttps://api.anthropic.com/v1
Googlehttps://generativelanguage.googleapis.com/v1

Recommendation

Start with OpenRouter. It provides access to 100+ models (including OpenAI, Anthropic, and Google models) through a single API key. You can switch between models without changing any application code, and it includes $1 of free credit to get started.


Troubleshooting

IssueFix
”Invalid API key”Check key format and restart the dev server.
”Model not available”Try a different model or check the provider’s status page.
”Rate limit exceeded”Add delay between requests or upgrade your plan.

  • MCP Tools — AI-assisted development with Context7 and Chrome DevTools
  • GCP Deployment — deploy with LLM keys in Secret Manager

Ready to build with VibeReady?

Get the full AI-native SaaS foundation with production infrastructure, AI development framework, and all integrations.

Get VibeReady — From $149