01.02
Make the API call yourself
You send a raw model request, set the roles and parameters that control it, and read the usage block that reports exactly what it cost.
- Making AI Product Decisions
- 14 min
- Free
Who's hiring for this skill
41 companies have live AI-PM roles that ask for skills taught in this lesson.
- Nebius
- Glean
- Intercom
- Okta
- Rogo
- Writer
- Anthropic
- Snowflake
- Mistral
- Harvey
- Temporal
- Scale AI
- Decagon
- Fireworks
- Lightning Ai
- Sierra
- Datadog
- GitLab
- OpenAI
- Asana
- Coursera
- Gusto
- Stripe
- Vanta
- Cohere
- JetBrains
- Legora
- 1Password
- Baseten
- Box
- Deepgram
- Docker
- Klaviyo
- Luma AI
- Bland Ai
- Eve
- LangChain
- LaunchDarkly
- Plaid
- Sardine
- Together AI
Concepts in this subchapter
- System Prompt
- Temperature
- Top P
- Max Output Tokens
- Streaming
- Token
- Input Tokens
- Output Tokens
- Time to First Token
- Cost per Token
Source video: The OpenAI (Python) API | Introduction & Example Code, Shaw Talebi.