OpenAI
4 guides on OpenAI.
Calling the OpenAI API from C# directly: chat completions, streaming, function calling, counting tokens before you send them, and reading the parts of the response that most tutorials never mention.
Azure OpenAI vs OpenAI: Which Should .NET Developers Use?
Azure OpenAI or the OpenAI API? A clear comparison for .NET developers — on data residency, authentication, models, and cost — with a straight recommendation.
How to Count Tokens in C#
Tokens drive LLM cost and context limits. How to count tokens in C# with a tokenizer, estimate cost before a call, and keep prompts under the model's limit.
How to Use Function Calling with OpenAI in C#
Function calling lets an OpenAI model trigger your C# code. A step-by-step guide to defining functions, letting the model call them, and returning the result — in .NET.
How to Call the OpenAI API from C# (2026 Guide)
A step-by-step guide to calling the OpenAI API from C#: install the SDK, send your first chat completion, stream responses, and keep your API key safe in .NET.