After the invention of new IoT devices the new connection has been added in the network and bulk of data flow in the system. AI is very famous algorithum and software-defined networking (SDN) is new fast network controlling method both can be integrate for fast and secure network-related scenarios and finding great experience and growing interest in the research community. The present network connected to many number of objects over the Internet and present a complex scenario. To ensure security, privacy, confidentiality, and programmability, the architecture of AI and blockchain for SDN network is proposed in this paper. For network service provider this is ample time to apply artificial intelligence (AI) and blockchain (BC) in a software-defined network controller to ensure a secure network control, traffic management and system optimimum performnce. Also for shortest path to reduce delay in the network, the best routing algorithum must be apply in the network. The AI (artificial intelligence) algorithum can help SDN controller to fastdecision to reduced delay and can provide security in the network. In this paper routing algorithm also will be investigate faster Network.