Make your first LLM API calls in Python and Node.js with OpenAI, Claude and Gemini. Learn API keys, requests, token usage, errors and cost, step by step.
Continue reading...Series: Generative AI
Generative AI Part 2: Tokens, Context Windows and Model Parameters
Learn what tokens, the LLM context window and model parameters mean, with Python and Node.js code to count tokens, trim chat history and estimate memory.
Continue reading...Generative AI Part 1: What Is Generative AI and How Do LLMs Work?
What is generative AI? Learn how LLMs work through next-token prediction, tokens and training, then run your first Python, Node.js and free local model code.
Continue reading...