itsalive.co provides unified access to the best AI models through a simple API. Chat with AI, generate images, transcribe audio, and synthesize speech - all billed through your itsalive credits.

How Credits Work

AI features use prepaid credits. 1 credit = $0.001 (1/10 of a cent). Purchase credits in your dashboard and they're shared across all your apps.

Available Models

We offer two tiers for each provider:

Chat Models & Pricing

Provider Tier Model Tokens/Credit Cost per 10K tokens
Claude Good Claude Sonnet 4 75 ~$1.33
Best Claude Opus 4.5 15 ~$6.67
GPT Good GPT-5 Mini 1,800 ~$0.06
Best GPT-5.2 135 ~$0.74
Gemini Good Gemini 2.5 Flash 1,500 ~$0.07
Best Gemini 2.5 Pro 100 ~$1.00

Model Recommendations

Claude Sonnet 4 Good

Best balance of capability and cost for most applications. Excellent at coding, writing, and analysis.

Best for:

Code generation Writing assistance Data analysis Customer support bots Content creation

Claude Opus 4.5 Best

Most capable model available. Use for complex reasoning, nuanced tasks, and when quality matters most.

Best for:

Complex analysis Research tasks Creative writing Strategic planning Code review

GPT-5 Mini Good

Extremely cost-effective. Great for high-volume, simpler tasks where cost matters.

Best for:

Simple Q&A Text classification Summarization Chatbots High-volume tasks

GPT-5.2 Best

OpenAI's flagship model. Strong at following instructions and creative tasks.

Best for:

Creative writing Multi-step reasoning Function calling JSON output

Gemini 2.5 Flash Good

Google's fast, efficient model. Great for real-time applications and multimodal tasks.

Best for:

Real-time chat Image understanding Quick responses Mobile apps

Gemini 2.5 Pro Best

Google's most capable model. Strong at multimodal understanding and long context.

Best for:

Long documents Video analysis Complex multimodal Research

How to Use AI Features

Prerequisite: Run npx itsalive in your project directory first. This deploys your app and creates an ITSALIVE.md file that teaches Claude Code how to use these AI APIs. Once that's set up, just tell Claude what you want to build:

AI Chat

Ask Claude:

"Add an AI chat feature to my app. When users type a question,
send it to Claude using the good tier and display the response.
Show a loading spinner while waiting."
"Create a recipe suggestion feature. Users describe what
ingredients they have, and GPT suggests recipes. Use the good
tier to keep costs low."
"Build a writing assistant that helps users improve their text.
Use Claude best tier for high-quality suggestions. Include a
'make it shorter' and 'make it more formal' button."

Image Analysis (Vision)

Ask Claude:

"Add a plant identifier feature. Users upload a photo of a
plant, and Claude analyzes it to identify the species and
provide care instructions."
"Create a receipt scanner. Users take a photo of a receipt,
and AI extracts the items, prices, and total. Store the data
in a 'receipts' collection."
"Build a homework helper where students can upload a photo
of a math problem and get step-by-step explanations."

Image Generation (DALL-E)

Generate images from text prompts.

Model Size Quality Credits
DALL-E 3 1024x1024 Standard 50
DALL-E 3 1024x1792 / 1792x1024 Standard 100
DALL-E 3 1024x1024 HD 100
DALL-E 3 1024x1792 / 1792x1024 HD 150
DALL-E 2 256x256 - 1024x1024 - 20-25

Image Generation Examples

Ask Claude:

"Add an avatar generator. Users describe themselves, and
DALL-E creates a cartoon avatar. Let them regenerate if
they don't like it. Save the final avatar to their profile."
"Create a children's story feature where kids type a story
idea, AI writes a short story, and DALL-E generates an
illustration for it."
"Build a product mockup tool. Users describe a t-shirt
design, and DALL-E generates what it would look like.
Use HD quality for better results."

Speech-to-Text (Whisper)

Transcribe audio files. Costs ~10 credits per minute of audio.

Transcription Examples

Ask Claude:

"Add voice notes to my app. Users can record audio,
which gets transcribed and saved as a text note.
Show the transcription when they view the note."
"Create a meeting notes feature. Users upload an audio
recording, it gets transcribed, then Claude summarizes
the key points and action items."
"Build a language learning feature where users record
themselves speaking, get a transcription, and AI
provides pronunciation feedback."

Text-to-Speech

Generate natural-sounding speech. Costs ~20 credits per 1,000 characters (40 for HD).

Available voices: alloy, echo, fable, onyx, nova, shimmer

Text-to-Speech Examples

Ask Claude:

"Add a 'read aloud' button to my blog posts. When clicked,
it converts the article to speech using the nova voice
and plays it. Include pause/resume controls."
"Create an accessibility feature that reads any page content
aloud when users press a keyboard shortcut."
"Build a bedtime story app. AI writes a short story based
on a child's name and favorite animal, then reads it
aloud with the fable voice."

Choosing the Right Model

Use Case Recommended Why
High-volume chatbot GPT-5 Mini Lowest cost, fast responses
Code assistant Claude Sonnet Best coding ability at good tier
Content writing Claude Sonnet Natural, high-quality writing
Complex analysis Claude Opus Most capable reasoning
Real-time mobile app Gemini Flash Fast, efficient, multimodal
Document processing Gemini Pro Long context, good with docs
Image understanding Any provider All support vision input

Managing Credits

Credit Balance Examples

Ask Claude:

"Show the user's AI credit balance in the header. Display it
as a dollar amount. If they're running low (under $1), show
a warning and link to buy more credits."
"Create an admin page that shows my app's total AI usage
this month, broken down by feature."

Handling Errors

Error Handling Examples

Ask Claude:

"When AI requests fail due to insufficient credits, show a
friendly message telling the user they need to add credits,
with a button to purchase more."
"If the AI request fails, show a retry button. After 3
failures, show a 'contact support' message instead."

Tips for Vibe Coding with AI

Example Apps

Here are complete apps built with vibe coding. After running npx itsalive to set up your project, just paste these prompts into Claude Code:

Recipe Buddy

A cooking app where users list ingredients and get recipe suggestions.

The prompt:

"Build a recipe app. The main screen has a text area where users
list ingredients they have (one per line). There's a 'Get Recipes'
button that sends the ingredients to GPT-5 Mini and asks for 3
recipe suggestions that use those ingredients. Display each recipe
as a card with the name, cook time, and instructions. Add a 'Save'
button on each recipe that stores it to a 'saved_recipes' collection
linked to the user. Include a 'My Saved Recipes' page that shows
all their saved recipes."

Plant Doctor

Upload a photo of a sick plant, get diagnosis and care advice.

The prompt:

"Create a plant health app. Users can upload a photo of their
plant. Send the image to Claude good tier with the prompt 'This
plant appears unhealthy. Identify what's wrong and provide specific
care instructions to help it recover.' Show the diagnosis with
an icon indicating severity (yellow for minor, red for serious).
Include a 'Get Second Opinion' button that sends the same image
to Claude best tier for a more detailed analysis. Save the
diagnosis history to a 'plant_diagnoses' collection."

Story Time

Generate bedtime stories for kids with illustrations and narration.

The prompt:

"Build a bedtime story app. The home screen asks for the child's
name, their favorite animal, and a theme (adventure, friendship,
magic). When they click 'Create Story', use Claude good tier to
write a 5-paragraph children's story featuring those elements.
Then generate an illustration with DALL-E using a prompt based
on the story's main scene. Finally, add a 'Read Aloud' button
that uses text-to-speech with the 'fable' voice to narrate the
story. Save each story to 'stories' collection so kids can
revisit their favorites."

Meeting Notes Pro

Record meetings, get transcripts, summaries, and action items.

The prompt:

"Create a meeting notes app. Users can either record audio
directly in the browser or upload an audio file. Transcribe
it with Whisper. Then send the transcript to Claude best tier
and ask it to:
1. Write a 3-sentence summary
2. List all action items with who's responsible
3. Identify any decisions that were made
4. Note any unresolved questions

Display each section in a collapsible panel. Add an 'Email
Summary' button that sends the summary to all attendees
(they enter email addresses in a text field). Store everything
in a 'meetings' collection with the date and participants."

Flash Card Genius

Generate study flashcards from any topic or document.

The prompt:

"Build a flashcard study app. Users can either:
1. Enter a topic like 'Spanish vocabulary for travel'
2. Paste text from their notes or textbook

Send to GPT-5 Mini and ask it to generate 10 flashcards as
JSON with 'question' and 'answer' fields. Display them in a
flip-card interface - click to reveal the answer. Track how
many they got right/wrong in a study session. Use spaced
repetition: cards they got wrong appear more often. Save
flashcard sets to 'flashcard_sets' collection. Add a 'Quiz
Me' mode that uses text-to-speech to read questions aloud."

Next Steps