Home
Docs/AI Chat

AI Chat

Free (BYOK)

Conversational chat with AI models directly from Pocket Code. Requires your own API key — no intermediaries or hidden costs.

Bring Your Own Key (BYOK)

Pocket Code does NOT act as an AI proxy. Requests go directly from your device to the provider (Gemini, OpenAI, Anthropic…). You control your data and costs. Gemini's free tier is enough for moderate use at no cost.

Supported providers

Google Gemini

Gemini 2.0 Flash, Pro, Ultra

Free tier available

OpenAI

GPT-4o, GPT-4 Turbo, GPT-3.5

Pay per use

Anthropic

Claude 3.5 Sonnet, Opus, Haiku

Pay per use

Mistral AI

Mistral Large, Medium, Codestral

Free tier available

Groq

LLaMA 3, Mixtral (ultra-rápido)

Free tier available

Ollama

Local models on your device

Free — no API key

Chat features

  • Project context: share open files, snippets or the entire workspace
  • Persistent conversation history per project
  • Markdown rendering: assistant returns code with syntax highlighting
  • Direct insert: apply suggested code blocks to the editor with one tap
  • Voice mode: dictate questions with native speech recognition
  • Slash commands: /explain, /refactor, /test, /docs, /fix
  • Images: attach screenshots or diagrams (vision models)

Set up your API key

  1. 1Open Pocket Code → Settings → AI Providers
  2. 2Select the provider (recommended: Google Gemini to start for free)
  3. 3Paste your API key in the field and tap "Verify"
  4. 4The chat icon on any screen will now be active

Premium features

AI Office: multi-agent team with defined roles (dev, reviewer, tester…)
Sprint planning: the AI team splits tasks and executes them in order
Unlimited chat history (Free: last 50 messages per project)
Multiple simultaneous parallel conversations
Export conversation to Markdown or PDF